<?php 
//The progress report helped with the construction of this page
function getIDs(){
  //Build the system command that will called
    $cmd='./GetHostingPackagesID.pl';

  // Execute the shell command
    $returnval = exec($cmd, $output, $result); 

  // retrieve the list and convert to an array.
    $list = $output[0];
    $HostingIDlist = explode(",", $list);
    sort($HostingIDlist);
    return $HostingIDlist;
}
?>
